package org.jeecg.modules.car.mapper;

import java.util.List;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.entity.car.CarType;

/**
 * @Description: 车场车类表
 * @Author: jeecg-boot
 * @Date:   2020-09-30
 * @Version: V1.0
 */
public interface CarTypeMapper extends BaseMapper<CarType> {

    List<CarType> findPage(Page<CarType> page,@Param("carType") CarType carType);

    @SqlParser(filter = true)
    void batchSaveOrUpdate(@Param("list") List<CarType> carTypeList);

    List<CarType> queryCarTypeByParkId(@Param("parkId") String parkId);

    List<CarType> findByProject(@Param("projectId") String projectId);
}
